package com.example.base;

import org.springframework.web.bind.annotation.RestController;

@RestController
public class BaseAction {

    protected <T> ResponseDto<T> sendSuccessMessage(T data){
        ResponseDto<T> result = new ResponseDto<T>();
        result.setSuccess(true);
        result.setData(data);
        return result;
    }

    protected String getByPhone(){
        return "";
    }
}
